﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using WCFService.Labb1;

namespace WCFService
{
    [ServiceContract]
    public interface IService1
    {
        [OperationContract]
        bool Login(string user, string password);

        [OperationContract]
        List<City> GetCities();

        [OperationContract]
        Calculation NewCalculation(Calculation calculation);

        [OperationContract]
        void SubscribeMyPhone(Guid phoneID, string channelURI);

        [OperationContract]
        void PushRawData(string rawMessage);

        [OperationContract]
        void PushToast(string toastTitle, string toastMessage);

        [OperationContract]
        void PushTileUpdate(string tileTitle, int tileCount, string tileImageURI);
    }
}